package com.hk.core.autoconfigure.data;

import com.hk.core.authentication.api.UserPrincipal;

import java.util.function.Function;

/**
 * @author Kevin
 * @date 2024-04-21 12:46
 */
public interface TenantIdResolverProvider {

    boolean test(String value);

    Function<UserPrincipal, String> getProvider();
}
